﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Utils;

namespace Utils
{
    public static class CopyQuestion
    {
        public static QuestionResult Show(string message)
        {
            QuestionResult rs = new QuestionResult();
            FrmQuestionDialog frm = new FrmQuestionDialog(message);
            frm.ShowDialog();
            rs = frm.Result;
            return rs;
        }

        public static QuestionResult Show(string message, string title)
        {
            QuestionResult rs = new QuestionResult();
            FrmQuestionDialog frm = new FrmQuestionDialog(message, title);
            frm.ShowDialog();
            rs = frm.Result;
            return rs;
        }
    }
}
